package com.xjc.business.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 宿舍评优评价表
 * @TableName activity_comments
 */
@TableName(value ="activity_comments")
@Data
public class ActivityComments implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 活动id
     */
    private Integer activityId;

    /**
     * 目标参加记录id
     */
    private Integer joinId;

    /**
     * 目标宿舍id
     */
    private Integer destDormId;

    /**
     * 评价人id
     */
    private Integer commentId;

    /**
     * 类型(0:反对 1:支持)
     */
    private Integer type;

    /**
     * 理由
     */
    private String reason;

    /**
     * 是否匿名(0:否 1:是)
     */
    private Integer isAnonymity;

    /**
     * 匿名时的昵称
     */
    private String anonymityName;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}